package top.appx.dao;

/**
 * Created by zwy on 2015-5-20.
 */
public interface BaseDao<T> {

    public T getById(Class<T> entityClass,int id);
    public void save(T entity);
    public void update(T entity);
    public void saveOrUpdate(T entity);
    public void delete(T entity);
}
